<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>{}关注的人 - {$memberDetail.nickname}的烘焙圈 - {$Config.sitename}</title>
    <link rel="stylesheet" href="__CSS__/global.css" />
    <link rel="stylesheet" href="__CSS__/huiyuan.css" />
    <Admintemplate file="Home/Public/global_js"/>
    <script src="__JS__/jquery.min.js"></script>
</head>

<body>

<div class="b-page">
    <include file="Public:header" />

    <a href="{$midad.linkurl}" class="b-banner_big" style="background-image: url(__FILESURL__{$midad.image});">{$midad.title}</a>
    <div class="b-huiyuan">
        <div class="b-body l-center">
            <div class="b-huiyuan__top">
                <div class="b-userInfo l-mgb20">
                    <div class="b-userInfo__pic"><img src="{$memberDetail.uavatar|getUavatar}" class="l-full"></div>
                    <div class="b-userInfo__content">
                        <div class="b-userInfo__name">{$memberDetail.nickname}的烘焙圈
                            <if condition="$memberDetail.ifrz eq 1">
                                <a href="__WEBURL__/us/renzhen.html"><i class="b-renzhengIcon_big pic_mid"></i></a>
                            </if>
                        </div>
                        <div class="b-userInfo__ziliao">
                            <span>性别: {$memberDetail.usex|getUsex}</span>
                            <if condition="$memberDetail.uprovince neq ''">
                            <span><img src="__IMAGES__/icon_position.png" class="pic_mid">{$memberDetail.uprovince|showProvince},{$memberDetail.ucity|showCity}</span>
                            </if>
                            <span>{$memberDetail.create_time|date='Y-m-d',###} 加入</span>
                        </div>
                        <div class="b-userInfo__shejiao">
                            <a href="{$memberDetail.uweibo}" class="b-zuopinUser__shejiaoItem" style="margin-right:5px;">
                                <span>新浪微博</span>
                                <i class="b-shareIcon pic_mid"></i>
                            </a>
                            <a href="{$memberDetail.uqqzone}" class="b-zuopinUser__shejiaoItem">
                                <span>QQ空间</span>
                                <i class="b-qqzoneIcon pic_mid"></i>
                            </a>
                        </div>
                        <div class="b-userInfo__qianming">
                            <span class="jianduan act">{$memberDetail.usign|str_cut=50}</span>
                            <if condition="strlen($memberDetail['usign'],'utf-8') gt 50">
                            <span class="quanbu">{$memberDetail.usign}</span>
                            <span rel="open" class="btn">(全部)</span>
                            </if>
                        </div>
                    </div>
                    <if condition="$userid neq $memberDetail['userid']">
                        <if condition="$isfans gt 0">
                            <a class="b-userInfo__guanzhu R_ajax_trip" data-info="userid,{$memberDetail.userid}" data-url="do/cancelfans/">取消关注</a>
                            <else/>
                            <a class="b-userInfo__guanzhu R_ajax_trip" data-info="userid,{$memberDetail.userid}" data-url="do/addfans/">关注</a>
                        </if>
                    </if>

                    <div class="b-userInfo__guanzhuInfo">
                        <div class="b-userInfo__guanzhuLeft">
                            <p class="b-userInfo__guanzhuP1">关注的人</p>
                            <p class="b-userInfo__guanzhuP2"><a href="__WEBURL__/u/{$memberDetail.openuid}/attention">{$memberDetail.attentionnum|getNullNum}</a></p>
                        </div>
                        <div class="b-userInfo__guanzhuRight">
                            <p class="b-userInfo__guanzhuP1">被关注</p>
                            <p class="b-userInfo__guanzhuP2"><a href="__WEBURL__/u/{$memberDetail.openuid}/fans">{$memberDetail.fansnum|getNullNum}</a></p>
                        </div>
                    </div>
                </div>
                <div class="b-userTab l-mgb20">
                    <a href="__WEBURL__/u/{$openuid}" class="b-userTab__item"><p><span>概况</span></p></a>
                    <a href="__WEBURL__/u/{$openuid}/works" class="b-userTab__item"><p><span>烘焙作品</span></p></a>
                    <a href="__WEBURL__/u/{$openuid}/copy" class="b-userTab__item"><p><span>参考作品</span></p></a>
                    <a href="__WEBURL__/u/{$openuid}/suipai" class="b-userTab__item"><p><span>随拍作品</span></p></a>
                    <a href="__WEBURL__/u/{$openuid}/favorite" class="b-userTab__item"><p><span>收藏</span></p></a>
                    <a href="__WEBURL__/u/{$openuid}/message" class="b-userTab__item"><p><span>留言板</span></p></a>
                    <if condition="$memberDetail.ifds eq 1">
                    <a href="__WEBURL__/u/{$openuid}/teach" class="b-userTab__item"><p><span>导师专栏</span></p></a>
                    </if>
                </div>
            </div>
            <div class="b-huiyuan__body">
                <div class="b-pengyou">
                    <div class="ofh">
                        <a href="__WEBURL__/u/{$openuid}/attention" class="b-pengyou__tab">{$memberDetail.nickname}关注的焙友</a>
                        <a href="__WEBURL__/u/{$openuid}/fans" class="b-pengyou__tab act">关注{$memberDetail.nickname}的焙友</a>
                    </div>
                    <div class="b-pengyou__list">

                        <foreach name="list" item="vo">
                            <div class="b-pengyou__item">
                                <div class="b-pengyou__content">
                                    <div class="b-pengyou__name"><a href="__WEBURL__/u/{$vo.openuid}">{$vo.nickname}</a>
                                        <if condition="$vo.ifrz eq 1">
                                            <a href="__WEBURL__/us/renzheng.html"><i class="b-renzhengIcon pic_mid" style="margin-left:5px;"></i></a>
                                        </if>
                                    </div>
                                    <div class="b-pengyou__time">{$vo.create_time|format_time}</div>
                                    <div class="b-pengyou__do">{$vo.content}</div>
                                    <a href="__WEBURL__/u/{$vo.openuid}" class="b-pengyou__pic"><img src="{$vo.uavatar|getUavatar}" class="uavatar_60"><i class="b-picMask"></i></a>
                                </div>
                            </div>
                        </foreach>

                    </div>
                    <div class="b-fenye">
                        <div class="pager">{$Page}</div>
                    </div>
                </div>

            </div>
            <div class="b-huiyuan__bottom">

            </div>
        </div>
    </div>

    <include file="Public:footer" />

</div>

<script src="__JS__/index.js"></script>
<script src="__JS__/jquery.common.js?v=20150101"></script>
<script src="__JS__/jquery.doajax.js"></script>
<script>
    $(document).ready(function(){
        $('.b-zuopinItem').each(function(i,val){
            if(i%3==0) $(this).addClass('b-zuopinItem_first');
        });
        $('.b-zuopinItem__pic').hover(function(){
            $(this).find('.b-itemMask').stop(true,true).fadeIn();
        },function(){
            $(this).find('.b-itemMask').stop(true,true).fadeOut();
        });
        $('.b-userInfo__qianming .btn').on('click',function(){
            var type=$(this).attr('rel');
            switch(type){
                case 'open':{
                    $('.b-userInfo__qianming .jianduan').removeClass('act');
                    $('.b-userInfo__qianming .quanbu').addClass('act');
                    $(this).attr('rel','close').html('(收起)');
                    break;
                }
                case 'close':{
                    $('.b-userInfo__qianming .jianduan').addClass('act');
                    $('.b-userInfo__qianming .quanbu').removeClass('act');
                    $(this).attr('rel','open').html('(全部)');
                    break;
                }
            }
        });
    });
</script>

</body>
</html>